<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class FourPatient extends Model
{   use HasFactory;
	use HasDateTimeFormatter;
    protected $table = 'four_patient';
    protected $guarded = [];

    public function es()
    {
        return $this->hasOne(FourShip::class,'id','ship_id');
    }
    public function card()
    {
        return $this->hasOne(Typed::class,'id','type_id');
    }

}
